package cn.gov.msa.dao;

import java.util.List;

import cn.gov.msa.model.RecordPerson;
import cn.gov.msa.model.Repository;
import cn.gov.msa.model.RepositoryClassify;

public interface RepositoryMapper {

	List<Repository> selectData(Repository repository);
	
	int updateViewCount(Repository record);
	
	int insert(Repository record);
	
	List<RepositoryClassify> selectSmallClass(Repository repository);
	
	int deleteByPK(String repositoryPK);
	
	int updateByPK(Repository repository);
	
	Repository selectByPK(String repositoryPK);
	
	RecordPerson selectByApplyId(String recordid);
}
